package com.jasontools.ui;

import com.wondertek.liveroom.R;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.RelativeLayout;

public class PlayerVideo extends RelativeLayout {

	private View view = null;
	private Context context = null;
	private LayoutInflater inflater = null;
	public PlayerVideo(Context context) {
		super(context);
		this.context = context;
		addView();
	}
	
	public PlayerVideo(Context context, AttributeSet attrs) {
		super(context, attrs);
		this.context = context;
		addView();
	}
	
	public PlayerVideo(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		this.context = context;
		addView();
	}
	
	private void addView() {
		inflater = LayoutInflater.from(context);
		view = inflater.inflate(R.layout.fragment_video_player, null);
		this.addView(view);
	}

}
